<html>
	<head>
		<style>
			input.hidden {
		    Z-INDEX: 3;
		    FILTER: alpha(opacity: 0);
		    POSITION:relative;
		    TEXT-ALIGN: left;
		    opacity: 0;
		    moz-opacity: 0;			
			}
		</style>
    	<script>
    	    function init()
    	    {
    	        window.parent.page.getResource(<?php echo($_REQUEST["resId"]); ?>).doInit();
    	    }
    	    function doClick(){				
				document.formUpload.uploadFile.click();
				document.formUpload.tempFile.value = document.formUpload.uploadFile.value;
				
			}
    	    function doChange(event)
    	    {
				
    	        window.parent.page.getResource(<?php echo($_REQUEST["resId"]); ?>).doChange(event);
    	    }
			
    	</script>
    </head>
	<body onLoad="init()"  style="{overflow: hidden;font-family: Arial;font-size: 8pt;}" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
	    <form name="formUpload" enctype="multipart/form-data" action="uploadHandler.php" method="POST">									
			<div  style='{cursor:pointer;position: absolute;z-index:2;width: 100%; height : 100%;background:url(icon/dynpro/bUpload.png) 0 0 no-repeat}' align='center'>
			</div>							
			<input type="file" id="uploadFile" name="uploadFile" class="hidden" style="{cursor:pointer;font-family: Arial;font-size: 9pt;cursor:pointer;display:}" onChange="doChange(event)"/>														
			<input type="hidden" name="resId" value="<?php echo($_REQUEST["resId"]); ?>"/>
			<input type="hidden" id="uploadClassName" name="uploadClassName" value=""/>
			<input type="hidden" id="funcName" name="funcName" value=""/>
			<input type="hidden" id="param1" name="param1" value=""/>
			<input type="hidden" id="param2" name="param2" value=""/>
			<input type="hidden" id="param3" name="param3" value=""/>
			<input type="hidden" id="param4" name="param4" value=""/>
			<input type="button" id="submitButton" name="submitButton" value="Do Submit" style="{display: none}">
		</form>
	</body>
</html>
